import { axiosInstance } from '@/api/config';

// 注册
export const registerApi = (param = {}) => {
  return axiosInstance.post('/api/register', param);
};
// 登录
export const login = (param = {}) => {
  return axiosInstance.post('/api/login', param);
};
// 检验token
export const profile = () => {
  return axiosInstance.post('/api/profile');
};
